import request from "@/utils/request";

export function getProfile(userId, params) {
  return request({
    url: `/api/profile/${userId}`,
    method: "get",
    params,
  });
}

export function getProfileCard(userId) {
  return request({
    url: `/api/profile/card/${userId}`,
    method: "get",
  });
}
